package com.pap.product.publish.auto.entity;

import java.io.Serializable;

import com.pap.base.entity.PapBaseEntity;
import com.pap.base.mybatis.plugin.annotation.MyBatisColumnAnnotation;
import com.pap.base.mybatis.plugin.annotation.MyBatisTableAnnotation;

@MyBatisTableAnnotation(name = "t_product_publish_detail_car", namespace = "com.pap.product.publish.auto.mapper.ProductPublishDetailCarMapper", remarks = " 修改点 ", aliasName = "t_product_publish_detail_car t_product_publish_detail_car")
public class ProductPublishDetailCar extends PapBaseEntity implements Serializable {
	/**
	 * 车辆信息，编号逗号隔开，制造商品牌车系车型,所属表字段为t_product_publish_detail_car.CAR_IDS
	 */
	@MyBatisColumnAnnotation(name = "CAR_IDS", value = "t_product_publish_detail_car_CAR_IDS", chineseNote = "车辆信息，编号逗号隔开，制造商品牌车系车型", tableAlias = "t_product_publish_detail_car")
	private String carIds;

	/**
	 * 车辆信息，编码逗号隔开，制造商品牌车系车型,所属表字段为t_product_publish_detail_car.CAR_CODES
	 */
	@MyBatisColumnAnnotation(name = "CAR_CODES", value = "t_product_publish_detail_car_CAR_CODES", chineseNote = "车辆信息，编码逗号隔开，制造商品牌车系车型", tableAlias = "t_product_publish_detail_car")
	private String carCodes;

	/**
	 * 车辆信息，名称逗号隔开，制造商品牌车系车型,所属表字段为t_product_publish_detail_car.CAR_NAMES
	 */
	@MyBatisColumnAnnotation(name = "CAR_NAMES", value = "t_product_publish_detail_car_CAR_NAMES", chineseNote = "车辆信息，名称逗号隔开，制造商品牌车系车型", tableAlias = "t_product_publish_detail_car")
	private String carNames;

	/**
	 * 产品发布的编号,所属表字段为t_product_publish_detail_car.PRODUCT_PUBLISH_ID
	 */
	@MyBatisColumnAnnotation(name = "PRODUCT_PUBLISH_ID", value = "t_product_publish_detail_car_PRODUCT_PUBLISH_ID", chineseNote = "产品发布的编号", tableAlias = "t_product_publish_detail_car")
	private String productPublishId;

	/**
	 * 所属产品的编号,所属表字段为t_product_publish_detail_car.PRODUCT_ID
	 */
	@MyBatisColumnAnnotation(name = "PRODUCT_ID", value = "t_product_publish_detail_car_PRODUCT_ID", chineseNote = "所属产品的编号", tableAlias = "t_product_publish_detail_car")
	private String productId;

	private static final long serialVersionUID = 1L;

	public String getCarIds() {
		return carIds;
	}

	public void setCarIds(String carIds) {
		this.carIds = carIds;
	}

	public String getCarCodes() {
		return carCodes;
	}

	public void setCarCodes(String carCodes) {
		this.carCodes = carCodes;
	}

	public String getCarNames() {
		return carNames;
	}

	public void setCarNames(String carNames) {
		this.carNames = carNames;
	}

	public String getProductPublishId() {
		return productPublishId;
	}

	public void setProductPublishId(String productPublishId) {
		this.productPublishId = productPublishId;
	}

	public String getProductId() {
		return productId;
	}

	public void setProductId(String productId) {
		this.productId = productId;
	}

	@Override
	public String getDynamicTableName() {
		return "t_product_publish_detail_car";
	}

	@Override
	public String toString() {
		StringBuilder sb = new StringBuilder();
		sb.append(getClass().getSimpleName());
		sb.append(" [");
		sb.append("Hash = ").append(hashCode());
		sb.append(", carIds=").append(carIds);
		sb.append(", carCodes=").append(carCodes);
		sb.append(", carNames=").append(carNames);
		sb.append(", productPublishId=").append(productPublishId);
		sb.append(", productId=").append(productId);
		sb.append("]");
		return sb.toString();
	}
}